package com.sunnyebuy.merchant.service;

import java.util.List;

import com.sunnyebuy.merchant.po.CustomerOrder;
import com.sunnyebuy.merchant.status.PaymentStatus;
import com.sunnyebuy.merchant.status.ShipStatus;

/**
 * <p>
 * Title: CustomerOrderService.java
 * </p>
 * 
 * <p>
 * Description: com.sunnyebuy.merchant.service
 * </p>
 * 
 * <p>
 * Copyright: Copyright (c) 2008-2011 All rights reserved.
 * </p>
 * 
 * <p>
 * Created: 2011-12-28 上午11:16:55
 * </p>
 * 
 * @author Wenzhong Gu
 * 
 * @version 1.0
 */
public interface CustomerOrderService {

	public List<CustomerOrder> findCustomerOrderByPaymentStatus(String merchantId, PaymentStatus paymentStatus);

	public void addCustomerOrder(CustomerOrder customerOrder) throws Exception;

	public List<CustomerOrder> findCustomerOrderByShipmentStatus(String merchantId, ShipStatus shipStatus);

	public void addCustomerOrders(List<CustomerOrder> customerOrders) throws Exception;

	public String getLastOrderTx();

}